package cn.itsource.smartsystem.mapper;

import cn.itsource.smartsystem.domain.Student;
import cn.itsource.smartsystem.domain.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
* @author DELL
* @description 针对表【stu】的数据库操作Mapper
* @createDate 2024-05-25 14:48:10
* @Entity cn.itsource.smartsystem.mapper.domain.Stu
*/
@Mapper
public interface StuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Student stu);

    int insertSelective(Student stu);

    Student selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Student stu);

    int updateByPrimaryKey(Student stu);
    List<Student> getAll();
    void batchAdd(List<Student> students);
}
